package com.jk.test;

import ch.qos.logback.core.net.SyslogOutputStream;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;

public class CreatUuid {
    public static void main(String[] args) {
        System.out.println( UUID.randomUUID().toString().replace("-",""));
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        String sss = sdf.format(new Date());
        System.out.println(sss);

    }
}
